<html>
<head>
    <title>Walking Desu server</title>
</head>
<body>
    <h2>Oficial servers</h2>
    <script src="http://www.java.com/js/deployJava.js"></script> Java Test Server
    <script>
        // using JavaScript to get location of JNLP file relative to HTML page
        var dir = location.href.substring(0, location.href.lastIndexOf('/')+1);
        var url = dir + "WD-java.jnlp";
        deployJava.createWebStartLaunchButton(url, '1.6.0');
    </script><hr>
    <h2>For developers</h2>
    <script src="http://www.java.com/js/deployJava.js"></script> Localhost Java Test Server
    <script>
        // using JavaScript to get location of JNLP file relative to HTML page
        var dir = location.href.substring(0, location.href.lastIndexOf('/')+1);
        var url = dir + "WD-localhost-java.jnlp";
        deployJava.createWebStartLaunchButton(url, '1.6.0');
    </script>
</body>
</html>